package org.suwenqian.audiovideosummary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import org.suwenqian.audiovideosummary.dao.entity.FileAsset;

import java.io.IOException;

public interface QiNiuUploadService extends IService<FileAsset> {

    /**
     * 上传文件接口
     * @param file 上传文件
     * @return 文件 key
     */
    String uploadQiNiu(MultipartFile file) throws IOException;
}
